FROM java:8
LABEL Author="fengbo"

WORKDIR /app
COPY ./target/leasehold-1.0.0-SNAPSHOT.jar /app/app.jar

ENV JAVA_OPTS=""
ENTRYPOINT [ "sh", "-c", "java $JAVA_OPTS -Djava.security.egd=file:/dev/./urandom -jar /app/app.jar" ]
